package com.jinmdz.fmis.api.api.model.funeral.negotiation;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.jinmdz.fmis.core.annotation.AnDict;
import com.jinmdz.fmis.core.constant.EDictCode;
import com.jinmdz.fmis.dao.base.BaseItem;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 洽谈登记逝者信息
 *
 * @author LiCongLu
 * @date 2020-02-11 11:56
 */
@ApiModel(value = "洽谈登记逝者信息", description = "洽谈登记逝者信息")
public class NegotiationDeadItem extends BaseItem {
    /**
     * 业务编码
     */
    @ApiModelProperty(value = "业务编码", name = "businessCode", position = 1)
    private String businessCode;

    /**
     * 逝者姓名
     */
    @ApiModelProperty(value = "逝者姓名", name = "deadName", position = 2)
    private String deadName;

    /**
     * 逝者性别编码
     */
    @ApiModelProperty(value = "逝者性别编码", name = "deadGenderCode", position = 3)
    @JsonIgnore
    private Integer deadGenderCode;

    /**
     * 逝者性别编码
     */
    @ApiModelProperty(value = "逝者性别编码", name = "deadGender", position = 4)
    @AnDict(dict = EDictCode.SEX, ref = "deadGenderCode")
    private String deadGender;

    /**
     * 证件号码
     */
    @ApiModelProperty(value = "证件号码", name = "certificateNo", position = 5)
    private String certificateNo;

    /**
     * 惠民区域编码
     */
    @ApiModelProperty(value = "惠民区域编码", name = "benefitDistrictCode", position = 6)
    @JsonIgnore
    private Integer benefitDistrictCode;

    /**
     * 惠民区域
     */
    @ApiModelProperty(value = "惠民区域", name = "benefitDistrict", position = 7)
    @AnDict(dict = EDictCode.HUIMIN_REGION, ref = "benefitDistrictCode")
    private String benefitDistrict;

    /**
     * 减免类型编码
     */
    @ApiModelProperty(value = "减免类型编码", name = "exemptionTypeCode", position = 8)
    @JsonIgnore
    private Integer exemptionTypeCode;

    /**
     * 减免类型
     */
    @ApiModelProperty(value = "减免类型", name = "exemptionType", position = 9)
    @AnDict(dict = EDictCode.EXEMPTION_TYPE, ref = "exemptionTypeCode")
    private String exemptionType;

    /**
     * 接尸地点
     */
    @ApiModelProperty(value = "接尸地点", name = "transportPlace", position = 10)
    private String transportPlace;

    /**
     * 死亡原因
     */
    @ApiModelProperty(value = "死亡原因", name = "deathCause", position = 11)
    private String deathCause;

    public String getBusinessCode() {
        return businessCode;
    }

    public NegotiationDeadItem setBusinessCode(String businessCode) {
        this.businessCode = businessCode;
        return this;
    }

    public String getDeadName() {
        return deadName;
    }

    public NegotiationDeadItem setDeadName(String deadName) {
        this.deadName = deadName;
        return this;
    }

    public Integer getDeadGenderCode() {
        return deadGenderCode;
    }

    public NegotiationDeadItem setDeadGenderCode(Integer deadGenderCode) {
        this.deadGenderCode = deadGenderCode;
        return this;
    }

    public String getDeadGender() {
        return deadGender;
    }

    public NegotiationDeadItem setDeadGender(String deadGender) {
        this.deadGender = deadGender;
        return this;
    }

    public String getCertificateNo() {
        return certificateNo;
    }

    public NegotiationDeadItem setCertificateNo(String certificateNo) {
        this.certificateNo = certificateNo;
        return this;
    }

    public Integer getBenefitDistrictCode() {
        return benefitDistrictCode;
    }

    public NegotiationDeadItem setBenefitDistrictCode(Integer benefitDistrictCode) {
        this.benefitDistrictCode = benefitDistrictCode;
        return this;
    }

    public String getBenefitDistrict() {
        return benefitDistrict;
    }

    public NegotiationDeadItem setBenefitDistrict(String benefitDistrict) {
        this.benefitDistrict = benefitDistrict;
        return this;
    }

    public Integer getExemptionTypeCode() {
        return exemptionTypeCode;
    }

    public NegotiationDeadItem setExemptionTypeCode(Integer exemptionTypeCode) {
        this.exemptionTypeCode = exemptionTypeCode;
        return this;
    }

    public String getExemptionType() {
        return exemptionType;
    }

    public NegotiationDeadItem setExemptionType(String exemptionType) {
        this.exemptionType = exemptionType;
        return this;
    }

    public String getTransportPlace() {
        return transportPlace;
    }

    public NegotiationDeadItem setTransportPlace(String transportPlace) {
        this.transportPlace = transportPlace;
        return this;
    }

    public String getDeathCause() {
        return deathCause;
    }

    public NegotiationDeadItem setDeathCause(String deathCause) {
        this.deathCause = deathCause;
        return this;
    }
}
